package crmdna.client.member;

import com.googlecode.objectify.annotation.Embed;

@Embed public class UnverifiedProgramProp implements Comparable<UnverifiedProgramProp>{
    long programTypeId;
    int dateYYYYMM; //eg: 201403
    String teacher;
    String city;
    String country;
    
	@Override
	public int compareTo(UnverifiedProgramProp arg0) {
		//sort order -dateYYYYMM
		Integer date = dateYYYYMM;
		Integer arg0Date = arg0.dateYYYYMM;
		
		return arg0Date.compareTo(date);		
	}
}
